package cn.gson.boot.model.mapper;

import cn.gson.boot.model.pojos.Business;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

@Repository
public interface BusinessMapper {
    //下拉框和模糊查询
    public List<Business> allbusines(@Param("businessTheme") String businessTheme,
                                     @Param("businessState") String businessState,
                                     @Param("businessSqr") String businessSqr,
                                     @Param("businessPlace") String businessPlace,
                                     @Param("Start") String Start, @Param("Over") String Over,@Param("empName") String empName);

    public Business xqbusines(@Param("bId") Integer bId);
}
